package goodsShop;

public class Test {
	public static void main(String[] args) {
		GoodsShop gs = new GoodsShop();
		Maker m1 = new Maker("zhangsan",gs);
		Maker m2 = new Maker("lisi",gs);
		Maker m3 = new Maker("wangwu",gs);
		
		Buyer b1 = new Buyer("xiaoming",gs);
		Buyer b2 = new Buyer("xiaowang",gs);
		Buyer b3 = new Buyer("xiaohua",gs);
		
		b1.start();
		b2.start();
		b3.start();
		m1.start();
		m2.start();
		m3.start();
	}
}
